import numpy as np
persontype = np.dtype({'names':['name','age','chinese','math','enlish'],
                       'formats':['S32','i','i','i','f']})
peoples = np.array([('Alice',22,82,81,83),('marry',24,92,91,99),('Jack',21,72,73,74)],dtype=persontype)
print(peoples.shape)
print(peoples.dtype)
print(peoples[:]['age'])
print(peoples[:]['chinese'])
print(peoples[:]['math'])